package com.example.kemgdemo.model;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.context.TenantIdentifierMismatchException;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 学号：1401030048
 * Created by 梁嘉伟 on 2019/7/11
 */

@Getter
@Setter
@Entity(name = "address")
@Table(name = "address")
public class AddressEntity extends BaseEntity {

    @Column(name = "buildingId")
    private Long buildingId;

    @Column(name = "province")
    private String province;

    @Column(name = "city")
    private String city;

    @Column(name = "district")
    private String district;

    @Column(name = "address")
    private String address;
}
